﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	ListaArqueos
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Lista de Arqueos</h2>

       
        

     <table>
        <tr>

        <th></th>
           
            <th>
               
                IdArqueo
            </th>
            <th>
                Cajero
            </th>
            <th>
                Fecha
            </th>
            <th>
                Hora
            </th>
            <th>
                Punto Venta
            </th>
            <th>
                Importe Total
            </th>
         
        </tr>


            <%
                if (TempData["arqueos"] != null)
    {
    %>
        
        <%
            
        foreach (CI.Caja.BE.BE_Arqueo s in TempData["arqueos"] as List<CI.Caja.BE.BE_Arqueo>)
        {
            %> 
            <tr>
            <td>
       <%-- <%: Html.ActionLink("Ver Detalle", "ListaDetalleArqueos", "Arqueo")%> --%>
         <%: Html.ActionLink("Ver Detalle", "ListaDetalleArqueos", new { id = s.IdArqueo })%>
        
        </td>

             <td>  <%=s.IdArqueo%> </td> 
              <td>  <%=s.Cajero%> </td>
               <td>  <%=s.Fecha%> </td>
                <td>  <%=s.Hora%> </td>
                 <td>  <%=s.PtoVta%> </td>
                  <td>  <%=s.ImporteTotal%> </td>
         
             </tr>
            
            <% 
        }
    } %>

   
    </table>

      <br />
        <br />

     <%: Html.ActionLink("Nuevo Arqueo", "Index", "Arqueo")%> 

</asp:Content>
